﻿@model IEnumerable<Kunlun.Models.Product>
@{
	ViewBag.Title = "收藏夹";
}
@section Head
{
	<link href="@Url.Content("~/Content/member/style.css")" rel="stylesheet" type="text/css" />
}
<div id="content">
	@Html.Partial("_MymenuPartial")
	<fieldset class="right">
		<legend>收藏夹</legend>
		<table>
			<tr>
				<th>
					图片
				</th>
				<th>名称</th>
				<th>单价</th>
				<th>操作</th>
			</tr>
			@foreach (Kunlun.Models.Product p in Model) {
				<tr>
					<td class="pic"><a href="@Url.Content("~/store/frame/Views/@p.pid")"  target="_blank">
					<img onload="DrawImage(this,100,100)" src="@string.Format("{0}{1}", System.Configuration.ConfigurationManager.AppSettings["ImageHttp"], Kunlun.BusinessLogic.ProductImageToThum.Thumbnail(p.ViewPic))" alt="@p.Name" /></a>
					</td>
					<td><a href='@Url.Content("~/store/frame/Views/@p.pid")'  target="_blank">@p.Name</a></td>
					<td>@string.Format("{0:F}",p.Kacaprice)</td>
					<td class="action">
					@Html.ActionLink("删除", "DeleteCollection", new { pid = p.pid })
					</td>
				</tr>
   }
		</table>
	</fieldset>
</div>
